package com.qqtech.qquan.coupon.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.common.util.TimeUtil;

@SuppressWarnings("serial")
public class CouponBaseVo extends CouponBase {
	
	/** 类型描述*/
	private String bizzTypeDesc;
	
	/** 失效时间 */
	private String strExpireAt;
	
	/**
	 * 优惠卷编码
	 */
	private String couponNo;
	public String getBizzTypeDesc() {
		return bizzTypeDesc;
	}
	public String getCouponNo() {
		return couponNo;
	}

	public String getStrExpireAt() {
		return strExpireAt;
	}

	public String getStrExpireAtU() {
		return TimeUtil.getStringTimeByFormat(getExpireAt(), "yyyy-MM-dd HH:mm");
	}

	public void setBizzTypeDesc(String bizzTypeDesc) {
		this.bizzTypeDesc = bizzTypeDesc;
	}

	public void setCouponNo(String couponNo) {
		this.couponNo = couponNo;
	}
	public void setStrExpireAt(String strExpireAt) {
		this.strExpireAt = strExpireAt;
	}
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
	
}